
<!doctype html>
<html lang="en" class="no-js">
  <head>
    
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width,initial-scale=1">
      
      
      
      
      
      <link rel="icon" href="../../../assets/images/favicon.png">
      <meta name="generator" content="mkdocs-1.4.3, mkdocs-material-9.1.19">
    
    
      
        <title>Running Epsilon's Ant Tasks from Command Line - Epsilon</title>
      
    
    
      <link rel="stylesheet" href="../../../assets/stylesheets/main.eebd395e.min.css">
      
        
        <link rel="stylesheet" href="../../../assets/stylesheets/palette.ecc896b0.min.css">
      
      

    
    
    
      
        
        
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
        <style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
      
    
    
      <link rel="stylesheet" href="../../../assets/stylesheets/mermaid.css">
    
      <link rel="stylesheet" href="../../../assets/javascript/google-code-prettify/prettify.css">
    
      <link rel="stylesheet" href="https://unpkg.com/mermaid@8.5.1/dist/mermaid.css">
    
      <link rel="stylesheet" href="../../../assets/stylesheets/slick.css">
    
      <link rel="stylesheet" href="../../../assets/stylesheets/slick-theme.css">
    
      <link rel="stylesheet" href="../../../assets/stylesheets/extra.css">
    
    <script>__md_scope=new URL("../../..",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
    
      
<script>
  window.ga = window.ga || function() {
    (ga.q = ga.q || []).push(arguments)
  }
  ga.l = +new Date
  /* Setup integration and send page view */
  ga("create", "UA-184785655-1", "auto")
  ga("set", "anonymizeIp", true)
  ga("send", "pageview")
  /* Register handler to log search on blur */
  document.addEventListener("DOMContentLoaded", () => {
    if (document.forms.search) {
      var query = document.forms.search.query
      query.addEventListener("blur", function() {
        if (this.value) {
          var path = document.location.pathname;
          ga("send", "pageview", path + "?q=" + this.value)
        }
      })
    }
  })
</script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
    
    
    
  </head>
  
  
    
    
    
    
    
    <body dir="ltr" data-md-color-scheme="default" data-md-color-primary="black" data-md-color-accent="orange">
  
    
    
    <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
    <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
    <label class="md-overlay" for="__drawer"></label>
    <div data-md-component="skip">
      
        
        <a href="#running-epsilons-ant-tasks-from-command-line" class="md-skip">
          Skip to content
        </a>
      
    </div>
    <div data-md-component="announce">
      
    </div>
    
    
      

  

<header class="md-header md-header--shadow" data-md-component="header">
  <nav class="md-header__inner md-grid" aria-label="Header">
    <a href="../../.." title="Epsilon" class="md-header__button md-logo" aria-label="Epsilon" data-md-component="logo">
      
  <img src="../../../assets/images/epsilon-white-background.png" alt="logo">

    </a>
    <label class="md-header__button md-icon" for="__drawer">
      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg>
    </label>
    <div class="md-header__title" data-md-component="header-title">
      <div class="md-header__ellipsis">
        <div class="md-header__topic">
          <span class="md-ellipsis">
            Epsilon
          </span>
        </div>
        <div class="md-header__topic" data-md-component="header-topic">
          <span class="md-ellipsis">
            
              Running Epsilon's Ant Tasks from Command Line
            
          </span>
        </div>
      </div>
    </div>
    
      
    
    
    
      <label class="md-header__button md-icon" for="__search">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
      </label>
      <div class="md-search" data-md-component="search" role="dialog">
  <label class="md-search__overlay" for="__search"></label>
  <div class="md-search__inner" role="search">
    <form class="md-search__form" name="search">
      <input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
      <label class="md-search__icon md-icon" for="__search">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
      </label>
      <nav class="md-search__options" aria-label="Search">
        
        <button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1">
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
        </button>
      </nav>
      
    </form>
    <div class="md-search__output">
      <div class="md-search__scrollwrap" data-md-scrollfix>
        <div class="md-search-result" data-md-component="search-result">
          <div class="md-search-result__meta">
            Initializing search
          </div>
          <ol class="md-search-result__list" role="presentation"></ol>
        </div>
      </div>
    </div>
  </div>
</div>
    
    
      <div class="md-header__source">
        <a href="https://github.com/eclipse/epsilon" title="Go to repository" class="md-source" data-md-component="source">
  <div class="md-source__icon md-icon">
    
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
  </div>
  <div class="md-source__repository">
    Epsilon @ GitHub
  </div>
</a>
      </div>
    
  </nav>
  
</header>
    
    <div class="md-container" data-md-component="container">
      
      
        
          
        
      
      <main class="md-main" data-md-component="main">
        <div class="md-main__inner md-grid">
          
            
              
              <div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
                <div class="md-sidebar__scrollwrap">
                  <div class="md-sidebar__inner">
                    


<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
  <label class="md-nav__title" for="__drawer">
    <a href="../../.." title="Epsilon" class="md-nav__button md-logo" aria-label="Epsilon" data-md-component="logo">
      
  <img src="../../../assets/images/epsilon-white-background.png" alt="logo">

    </a>
    Epsilon
  </label>
  
    <div class="md-nav__source">
      <a href="https://github.com/eclipse/epsilon" title="Go to repository" class="md-source" data-md-component="source">
  <div class="md-source__icon md-icon">
    
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
  </div>
  <div class="md-source__repository">
    Epsilon @ GitHub
  </div>
</a>
    </div>
  
  <ul class="md-nav__list" data-md-scrollfix>
    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="../../.." class="md-nav__link">
        Home
      </a>
    </li>
  

    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="../../../getting-started/" class="md-nav__link">
        Getting Started
      </a>
    </li>
  

    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="../../../playground" class="md-nav__link">
        Playground
      </a>
    </li>
  

    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="../../../download/" class="md-nav__link">
        Download
      </a>
    </li>
  

    
      
      
      

  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5" >
      
      
      
        <label class="md-nav__link" for="__nav_5" id="__nav_5_label" tabindex="0">
          Documentation
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_5_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_5">
          <span class="md-nav__icon md-icon"></span>
          Documentation
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../" class="md-nav__link">
        Overview
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../emc/" class="md-nav__link">
        Model Connectivity
      </a>
    </li>
  

            
          
            
              
  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5_3" >
      
      
      
        <label class="md-nav__link" for="__nav_5_3" id="__nav_5_3_label" tabindex="0">
          Languages
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_3_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_5_3">
          <span class="md-nav__icon md-icon"></span>
          Languages
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../eol/" class="md-nav__link">
        Object Language (EOL)
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../egl/" class="md-nav__link">
        Code Generation (EGL)
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../egx/" class="md-nav__link">
        Code Generation (EGX)
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../evl/" class="md-nav__link">
        Model Validation (EVL)
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../etl/" class="md-nav__link">
        Model Transformation (ETL)
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../ecl/" class="md-nav__link">
        Model Comparison (ECL)
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../eml/" class="md-nav__link">
        Model Merging (EML)
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../epl/" class="md-nav__link">
        Pattern Matching (EPL)
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../flock/" class="md-nav__link">
        Model Migration (Flock)
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../emg/" class="md-nav__link">
        Model Generation (EMG)
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../eunit/" class="md-nav__link">
        Unit Testing (EUnit)
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../pinset/" class="md-nav__link">
        Dataset Extraction (Pinset)
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../ewl/" class="md-nav__link">
        Wizard Language (EWL)
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

            
          
            
              
  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5_4" >
      
      
      
        <label class="md-nav__link" for="__nav_5_4" id="__nav_5_4_label" tabindex="0">
          Tools
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_4_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_5_4">
          <span class="md-nav__icon md-icon"></span>
          Tools
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../picto/" class="md-nav__link">
        Picto
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../flexmi/" class="md-nav__link">
        Flexmi
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../eugenia/" class="md-nav__link">
        Eugenia
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../exeed/" class="md-nav__link">
        Exeed
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../modelink/" class="md-nav__link">
        Modelink
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../hutn/" class="md-nav__link">
        HUTN
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../workflow/" class="md-nav__link">
        Workflow (Ant tasks)
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../" class="md-nav__link">
        Articles
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../../examples/" class="md-nav__link">
        Examples
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="https://www.youtube.com/epsilondevs" class="md-nav__link">
        Screencasts
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="https://www.youtube.com/playlist?list=PLRwHao6Ue0YUecg7vEUQTrtySIWwrd_mI" class="md-nav__link">
        Lectures
      </a>
    </li>
  

            
          
            
              
  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5_9" >
      
      
      
        <label class="md-nav__link" for="__nav_5_9" id="__nav_5_9_label" tabindex="0">
          Javadoc
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_9_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_5_9">
          <span class="md-nav__icon md-icon"></span>
          Javadoc
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="https://download.eclipse.org/epsilon/stable-javadoc/" class="md-nav__link">
        Stable
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="https://download.eclipse.org/epsilon/interim-javadoc/" class="md-nav__link">
        Interim
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

    
      
      
      

  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_6" >
      
      
      
        <label class="md-nav__link" for="__nav_6" id="__nav_6_label" tabindex="0">
          Issues
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_6_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_6">
          <span class="md-nav__icon md-icon"></span>
          Issues
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="https://github.com/eclipse/epsilon/issues/new/choose" class="md-nav__link">
        Report a new issue
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="https://github.com/eclipse/epsilon/issues" class="md-nav__link">
        View open issues
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="https://bugs.eclipse.org/bugs/buglist.cgi?product=epsilon&cmdtype=doit&order=Reuse+same+sort+as+last+time" class="md-nav__link">
        Bugzilla (legacy)
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

    
      
      
      

  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_7" >
      
      
      
        <label class="md-nav__link" for="__nav_7" id="__nav_7_label" tabindex="0">
          Community
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_7_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_7">
          <span class="md-nav__icon md-icon"></span>
          Community
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_7_1" >
      
      
      
        <label class="md-nav__link" for="__nav_7_1" id="__nav_7_1_label" tabindex="0">
          Who is using Epsilon?
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_7_1_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_7_1">
          <span class="md-nav__icon md-icon"></span>
          Who is using Epsilon?
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../../users/" class="md-nav__link">
        Industry
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../../users/education/" class="md-nav__link">
        Education
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../../users/open-source/" class="md-nav__link">
        Open-source Projects
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="https://projects.eclipse.org/projects/modeling.epsilon/who" class="md-nav__link">
        Who is developing Epsilon?
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="https://ko-fi.com/eclipseepsilon" class="md-nav__link">
        How can I support Epsilon?
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="https://www.eclipse.org/forums/index.php/f/22/" class="md-nav__link">
        Forum
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../../professional-services" class="md-nav__link">
        Professional Services
      </a>
    </li>
  

            
          
            
              
  
  
  
    
    <li class="md-nav__item md-nav__item--nested">
      
      
      
      
      <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_7_6" >
      
      
      
        <label class="md-nav__link" for="__nav_7_6" id="__nav_7_6_label" tabindex="0">
          Social Media
          <span class="md-nav__icon md-icon"></span>
        </label>
      
      <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_7_6_label" aria-expanded="false">
        <label class="md-nav__title" for="__nav_7_6">
          <span class="md-nav__icon md-icon"></span>
          Social Media
        </label>
        <ul class="md-nav__list" data-md-scrollfix>
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="https://twitter.com/eclipseepsilon" class="md-nav__link">
        Twitter
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="https://youtube.com/epsilondevs" class="md-nav__link">
        YouTube
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../../labs/" class="md-nav__link">
        Epsilon Labs
      </a>
    </li>
  

            
          
            
              
  
  
  
    <li class="md-nav__item">
      <a href="../../../faq/" class="md-nav__link">
        Frequently Asked Questions
      </a>
    </li>
  

            
          
        </ul>
      </nav>
    </li>
  

    
      
      
      

  
  
  
    <li class="md-nav__item">
      <a href="../../../branding/" class="md-nav__link">
        Branding
      </a>
    </li>
  

    
  </ul>
</nav>
                  </div>
                </div>
              </div>
            
            
              
              <div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
                <div class="md-sidebar__scrollwrap">
                  <div class="md-sidebar__inner">
                    

<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
  
  
  
    
  
  
    <label class="md-nav__title" for="__toc">
      <span class="md-nav__icon md-icon"></span>
      Table of contents
    </label>
    <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
      
        <li class="md-nav__item">
  <a href="#ant" class="md-nav__link">
    Ant
  </a>
  
</li>
      
        <li class="md-nav__item">
  <a href="#maven" class="md-nav__link">
    Maven
  </a>
  
</li>
      
        <li class="md-nav__item">
  <a href="#gradle" class="md-nav__link">
    Gradle
  </a>
  
</li>
      
        <li class="md-nav__item">
  <a href="#flexmi-and-emfatic" class="md-nav__link">
    Flexmi and Emfatic
  </a>
  
</li>
      
        <li class="md-nav__item">
  <a href="#excel" class="md-nav__link">
    Excel
  </a>
  
</li>
      
        <li class="md-nav__item">
  <a href="#uml" class="md-nav__link">
    UML
  </a>
  
    <nav class="md-nav" aria-label="UML">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#genmymodel" class="md-nav__link">
    GenMyModel
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#epsilon-1x" class="md-nav__link">
    Epsilon 1.x
  </a>
  
</li>
      
    </ul>
  
</nav>
                  </div>
                </div>
              </div>
            
          
          
            <div class="md-content" data-md-component="content">
              <article class="md-content__inner md-typeset">
                
                  

  
  


<h1 id="running-epsilons-ant-tasks-from-command-line">Running Epsilon's Ant Tasks from Command Line<a class="headerlink" href="#running-epsilons-ant-tasks-from-command-line" title="Permanent link">&para;</a></h1>
<p><a href="https://github.com/eclipse/epsilon/tree/main/examples/org.eclipse.epsilon.examples.workflow.standalone">This example project</a> shows how to download, configure and run <a href="../../workflow">Epsilon's Ant tasks</a> from the command line using Ant, Maven and Gradle. To run the examples below, you <strong>only</strong> need to have <a href="https://ant.apache.org">Ant</a>, <a href="https://maven.apache.org/">Maven</a> or <a href="https://gradle.org/">Gradle</a> installed in your system. </p>
<h2 id="ant">Ant<a class="headerlink" href="#ant" title="Permanent link">&para;</a></h2>
<p>When you run the <code>ant</code> command in the root directory of the project, the following will happen:</p>
<ul>
<li>The build file (<code>build.xml</code>) will download <a href="https://ant.apache.org/ivy/">Apache Ivy</a> in a temporary directory</li>
<li>Ivy will fetch the required Epsilon jars (also in a temporary directory) from Maven Central/Sonatype</li>
<li>The build file will set up Epsilon's Ant tasks</li>
<li>The following part of the build file will be executed, which will load an EMF-based model and then run an EOL program against it</li>
</ul>
<div class="highlight"><pre><span></span><code><span class="nt">&lt;epsilon.emf.loadModel</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Library&quot;</span><span class="w"> </span><span class="na">modelfile=</span><span class="s">&quot;library.model&quot;</span><span class="w"> </span>
<span class="w">    </span><span class="na">metamodelfile=</span><span class="s">&quot;library.ecore&quot;</span><span class="nt">/&gt;</span>

<span class="nt">&lt;epsilon.eol&gt;</span>
<span class="w">    </span>for<span class="w"> </span>(writer<span class="w"> </span>in<span class="w"> </span>Writer.all)<span class="w"> </span>{
<span class="w">        </span>(writer.name<span class="w"> </span>+<span class="w"> </span>&quot;<span class="w"> </span>wrote<span class="w"> </span>&quot;<span class="w"> </span>+<span class="w"> </span>writer.books.title.concat(&quot;,<span class="w"> </span>&quot;)).println();
<span class="w">    </span>}
<span class="w">    </span><span class="nt">&lt;model</span><span class="w"> </span><span class="na">ref=</span><span class="s">&quot;Library&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;/epsilon.eol&gt;</span>
</code></pre></div>
<p>If everything goes well, the last few lines of the output of the <code>ant</code> command should look like this:</p>
<div class="highlight"><pre><span></span><code>run-epsilon:
[epsilon.eol] Agatha Christie wrote Endless Night

BUILD SUCCESSFUL
</code></pre></div>
<p>The complete source code is below and in <a href="https://github.com/eclipse/epsilon/tree/main/examples/org.eclipse.epsilon.examples.workflow.standalone">Epsilon's Git repo</a>.</p>
<div class="tabbed-set tabbed-alternate" data-tabs="1:3"><input checked="checked" id="__tabbed_1_1" name="__tabbed_1" type="radio" /><input id="__tabbed_1_2" name="__tabbed_1" type="radio" /><input id="__tabbed_1_3" name="__tabbed_1" type="radio" /><div class="tabbed-labels"><label for="__tabbed_1_1">build.xml</label><label for="__tabbed_1_2">ivy.xml</label><label for="__tabbed_1_3">ivysettings.xml</label></div>
<div class="tabbed-content">
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="nt">&lt;project</span><span class="w"> </span><span class="na">default=</span><span class="s">&quot;run-epsilon&quot;</span><span class="w"> </span><span class="na">xmlns:ivy=</span><span class="s">&quot;antlib:org.apache.ivy.ant&quot;</span><span class="nt">&gt;</span>

<span class="w">    </span><span class="cm">&lt;!-- This part of the build file runs our Epsilon tasks --&gt;</span>
<span class="w">    </span><span class="nt">&lt;target</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;run-epsilon&quot;</span><span class="w"> </span><span class="na">depends=</span><span class="s">&quot;setup-epsilon&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="cm">&lt;!-- Load the library.model EMF model --&gt;</span>
<span class="w">        </span><span class="nt">&lt;epsilon.emf.loadModel</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Library&quot;</span><span class="w"> </span><span class="na">modelfile=</span><span class="s">&quot;library.model&quot;</span><span class="w"> </span><span class="na">metamodelfile=</span><span class="s">&quot;library.ecore&quot;</span><span class="nt">/&gt;</span>

<span class="w">        </span><span class="cm">&lt;!-- Run library.eol against it --&gt;</span>
<span class="w">        </span><span class="nt">&lt;epsilon.eol</span><span class="w"> </span><span class="na">src=</span><span class="s">&quot;library.eol&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;model</span><span class="w"> </span><span class="na">ref=</span><span class="s">&quot;Library&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;/epsilon.eol&gt;</span>
<span class="w">    </span><span class="nt">&lt;/target&gt;</span>

<span class="w">    </span><span class="cm">&lt;!-- The rest of the build file downloads Ivy, fetches the Epsilon jars and sets up the Epsilon ANT tasks --&gt;</span>
<span class="w">    </span><span class="nt">&lt;property</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;ivy.version&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;2.5.0&quot;</span><span class="nt">/&gt;</span>
<span class="w">    </span><span class="nt">&lt;property</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;ivy.jar.dir&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;${basedir}/ivy&quot;</span><span class="nt">/&gt;</span>
<span class="w">    </span><span class="nt">&lt;property</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;ivy.jar.file&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;${ivy.jar.dir}/ivy.jar&quot;</span><span class="nt">/&gt;</span>

<span class="w">    </span><span class="cm">&lt;!-- Downloads Ivy --&gt;</span>
<span class="w">    </span><span class="nt">&lt;target</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;download-ivy&quot;</span><span class="w"> </span><span class="na">unless=</span><span class="s">&quot;skip.download&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;mkdir</span><span class="w"> </span><span class="na">dir=</span><span class="s">&quot;${ivy.jar.dir}&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;get</span><span class="w"> </span><span class="na">src=</span><span class="s">&quot;https://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar&quot;</span>
<span class="w">             </span><span class="na">dest=</span><span class="s">&quot;${ivy.jar.file}&quot;</span><span class="w"> </span><span class="na">usetimestamp=</span><span class="s">&quot;true&quot;</span><span class="nt">/&gt;</span>
<span class="w">    </span><span class="nt">&lt;/target&gt;</span>

<span class="w">    </span><span class="cm">&lt;!-- Sets up the Ivy ANT tasks --&gt;</span>
<span class="w">    </span><span class="nt">&lt;target</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;setup-ivy&quot;</span><span class="w"> </span><span class="na">depends=</span><span class="s">&quot;download-ivy&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;path</span><span class="w"> </span><span class="na">id=</span><span class="s">&quot;ivy.lib.path&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;fileset</span><span class="w"> </span><span class="na">dir=</span><span class="s">&quot;${ivy.jar.dir}&quot;</span><span class="w"> </span><span class="na">includes=</span><span class="s">&quot;*.jar&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;/path&gt;</span>
<span class="w">        </span><span class="nt">&lt;taskdef</span><span class="w"> </span><span class="na">resource=</span><span class="s">&quot;org/apache/ivy/ant/antlib.xml&quot;</span>
<span class="w">                 </span><span class="na">uri=</span><span class="s">&quot;antlib:org.apache.ivy.ant&quot;</span><span class="w"> </span><span class="na">classpathref=</span><span class="s">&quot;ivy.lib.path&quot;</span><span class="nt">/&gt;</span>
<span class="w">    </span><span class="nt">&lt;/target&gt;</span>

<span class="w">    </span><span class="nt">&lt;target</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;setup-epsilon&quot;</span><span class="w"> </span><span class="na">depends=</span><span class="s">&quot;setup-ivy&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="cm">&lt;!-- Uncomment the line below to clear Ivy&#39;s cache --&gt;</span>
<span class="w">        </span><span class="cm">&lt;!--ivy:cleancache/--&gt;</span>
<span class="w">        </span><span class="nt">&lt;ivy:settings</span><span class="w"> </span><span class="na">file=</span><span class="s">&quot;ivysettings.xml&quot;</span><span class="w"> </span><span class="nt">/&gt;</span>

<span class="w">        </span><span class="cm">&lt;!-- Fetch all relevant Epsilon jars under lib/binaries --&gt;</span>
<span class="w">        </span><span class="nt">&lt;ivy:retrieve</span><span class="w"> </span><span class="na">conf=</span><span class="s">&quot;binaries&quot;</span><span class="w"> </span><span class="na">pattern=</span><span class="s">&quot;lib/[conf]/[artifact](-[classifier]).[ext]&quot;</span><span class="nt">/&gt;</span>

<span class="w">        </span><span class="cm">&lt;!-- Construct a path from all the jars under lib/binaries --&gt;</span>
<span class="w">        </span><span class="nt">&lt;path</span><span class="w"> </span><span class="na">id=</span><span class="s">&quot;lib.path&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;fileset</span><span class="w"> </span><span class="na">dir=</span><span class="s">&quot;lib/binaries&quot;</span><span class="w"> </span><span class="na">includes=</span><span class="s">&quot;*.jar&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;/path&gt;</span>

<span class="w">        </span><span class="cm">&lt;!-- Load the ANT tasks from o.e.e.workflow and o.e.e.workflow.emf using the same classloader --&gt;</span>
<span class="w">        </span><span class="nt">&lt;taskdef</span><span class="w"> </span><span class="na">classpathref=</span><span class="s">&quot;lib.path&quot;</span><span class="w"> </span><span class="na">resource=</span><span class="s">&quot;org/eclipse/epsilon/workflow/tasks/tasks.xml&quot;</span><span class="w"> </span><span class="na">loaderref=</span><span class="s">&quot;lib.path.loader&quot;</span><span class="nt">/&gt;</span>

<span class="w">        </span><span class="nt">&lt;taskdef</span><span class="w"> </span><span class="na">classpathref=</span><span class="s">&quot;lib.path&quot;</span><span class="w"> </span><span class="na">resource=</span><span class="s">&quot;org/eclipse/epsilon/workflow/tasks/emf/tasks.xml&quot;</span><span class="w"> </span><span class="na">loaderref=</span><span class="s">&quot;lib.path.loader&quot;</span><span class="nt">/&gt;</span>

<span class="w">    </span><span class="nt">&lt;/target&gt;</span>

<span class="nt">&lt;/project&gt;</span>
</code></pre></div>
</div>
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="nt">&lt;ivy-module</span><span class="w"> </span><span class="na">version=</span><span class="s">&quot;2.0&quot;</span><span class="nt">&gt;</span>
<span class="w">    </span><span class="nt">&lt;info</span><span class="w"> </span><span class="na">organisation=</span><span class="s">&quot;&quot;</span><span class="w"> </span><span class="na">module=</span><span class="s">&quot;&quot;</span><span class="nt">/&gt;</span>
<span class="w">    </span><span class="nt">&lt;configurations&gt;</span>
<span class="w">        </span><span class="nt">&lt;conf</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;binaries&quot;</span><span class="w"> </span><span class="nt">/&gt;</span>
<span class="w">    </span><span class="nt">&lt;/configurations&gt;</span>
<span class="w">    </span><span class="nt">&lt;dependencies&gt;</span>
<span class="w">        </span><span class="nt">&lt;dependency</span><span class="w"> </span><span class="na">org=</span><span class="s">&quot;org.eclipse.epsilon&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;org.eclipse.epsilon.workflow&quot;</span><span class="w"> </span><span class="na">rev=</span><span class="s">&quot;2.4.0&quot;</span><span class="w"> </span><span class="na">conf=</span><span class="s">&quot;binaries-&gt;default&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;dependency</span><span class="w"> </span><span class="na">org=</span><span class="s">&quot;org.eclipse.epsilon&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;org.eclipse.epsilon.workflow.emf&quot;</span><span class="w"> </span><span class="na">rev=</span><span class="s">&quot;2.4.0&quot;</span><span class="w"> </span><span class="na">conf=</span><span class="s">&quot;binaries-&gt;default&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;exclude</span><span class="w"> </span><span class="na">artifact=</span><span class="s">&quot;org.eclipse.equinox.registry&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;exclude</span><span class="w"> </span><span class="na">artifact=</span><span class="s">&quot;org.eclipse.core.runtime&quot;</span><span class="nt">/&gt;</span>
<span class="w">    </span><span class="nt">&lt;/dependencies&gt;</span>
<span class="nt">&lt;/ivy-module&gt;</span>
</code></pre></div>
</div>
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="nt">&lt;ivysettings&gt;</span>

<span class="w">    </span><span class="nt">&lt;settings</span><span class="w"> </span><span class="na">defaultResolver=</span><span class="s">&quot;default-chain&quot;</span><span class="w"> </span><span class="na">defaultConflictManager=</span><span class="s">&quot;all&quot;</span><span class="w"> </span><span class="nt">/&gt;</span>

<span class="w">    </span><span class="nt">&lt;resolvers&gt;</span>
<span class="w">        </span><span class="nt">&lt;ibiblio</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;maven-central&quot;</span><span class="w">  </span><span class="na">m2compatible=</span><span class="s">&quot;true&quot;</span><span class="w"> </span><span class="na">usepoms=</span><span class="s">&quot;true&quot;</span><span class="w"> </span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;ibiblio</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;sonatype-snapshots&quot;</span><span class="w"> </span><span class="na">root=</span><span class="s">&quot;https://oss.sonatype.org/content/repositories/snapshots&quot;</span><span class="w"> </span><span class="na">m2compatible=</span><span class="s">&quot;true&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;chain</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;default-chain&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;resolver</span><span class="w"> </span><span class="na">ref=</span><span class="s">&quot;sonatype-snapshots&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;resolver</span><span class="w"> </span><span class="na">ref=</span><span class="s">&quot;maven-central&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;/chain&gt;</span>
<span class="w">    </span><span class="nt">&lt;/resolvers&gt;</span>

<span class="nt">&lt;/ivysettings&gt;</span>
</code></pre></div>
</div>
</div>
</div>
<h2 id="maven">Maven<a class="headerlink" href="#maven" title="Permanent link">&para;</a></h2>
<p>Since Maven can run Ant tasks, Epsilon Ant tasks can also be executed from a Maven build (<code>mvn clean install</code>) as shown below. </p>
<div class="tabbed-set tabbed-alternate" data-tabs="2:1"><input checked="checked" id="__tabbed_2_1" name="__tabbed_2" type="radio" /><div class="tabbed-labels"><label for="__tabbed_2_1">pom.xml</label></div>
<div class="tabbed-content">
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="nt">&lt;project&gt;</span>
<span class="w">  </span><span class="nt">&lt;modelVersion&gt;</span>4.0.0<span class="nt">&lt;/modelVersion&gt;</span>
<span class="w">  </span><span class="nt">&lt;artifactId&gt;</span>epsilon-maven<span class="nt">&lt;/artifactId&gt;</span>
<span class="w">  </span><span class="nt">&lt;groupId&gt;</span>org.eclipse.epsilon<span class="nt">&lt;/groupId&gt;</span>
<span class="w">  </span><span class="nt">&lt;version&gt;</span>1.0-SNAPSHOT<span class="nt">&lt;/version&gt;</span>
<span class="w">  </span><span class="nt">&lt;pluginRepositories&gt;</span>
<span class="w">    </span><span class="nt">&lt;pluginRepository&gt;</span>
<span class="w">        </span><span class="nt">&lt;id&gt;</span>Sonatype<span class="nt">&lt;/id&gt;</span>
<span class="w">        </span><span class="nt">&lt;url&gt;</span>https://oss.sonatype.org/content/repositories/snapshots<span class="nt">&lt;/url&gt;</span>
<span class="w">    </span><span class="nt">&lt;/pluginRepository&gt;</span>
<span class="w">  </span><span class="nt">&lt;/pluginRepositories&gt;</span>
<span class="w">  </span><span class="nt">&lt;build&gt;</span>
<span class="w">    </span><span class="nt">&lt;plugins&gt;</span>
<span class="w">      </span><span class="nt">&lt;plugin&gt;</span>
<span class="w">        </span><span class="nt">&lt;groupId&gt;</span>org.apache.maven.plugins<span class="nt">&lt;/groupId&gt;</span>
<span class="w">        </span><span class="nt">&lt;artifactId&gt;</span>maven-antrun-plugin<span class="nt">&lt;/artifactId&gt;</span>
<span class="w">        </span><span class="nt">&lt;version&gt;</span>3.0.0<span class="nt">&lt;/version&gt;</span>
<span class="w">        </span><span class="nt">&lt;executions&gt;</span>
<span class="w">          </span><span class="nt">&lt;execution&gt;</span>
<span class="w">            </span><span class="nt">&lt;phase&gt;</span>compile<span class="nt">&lt;/phase&gt;</span>
<span class="w">            </span><span class="nt">&lt;configuration&gt;</span>
<span class="w">              </span><span class="nt">&lt;target&gt;</span>
<span class="w">                </span><span class="cm">&lt;!-- Set up the core Epsilon tasks --&gt;</span>
<span class="w">                </span><span class="nt">&lt;taskdef</span>
<span class="w">                  </span><span class="na">resource=</span><span class="s">&quot;org/eclipse/epsilon/workflow/tasks/tasks.xml&quot;</span><span class="nt">/&gt;</span>

<span class="w">                </span><span class="cm">&lt;!-- Set up the Epsilon EMF tasks --&gt;</span>
<span class="w">                </span><span class="nt">&lt;taskdef</span>
<span class="w">                  </span><span class="na">resource=</span><span class="s">&quot;org/eclipse/epsilon/workflow/tasks/emf/tasks.xml&quot;</span><span class="nt">/&gt;</span>

<span class="w">                </span><span class="cm">&lt;!-- Load the library.model EMF model --&gt;</span>
<span class="w">                </span><span class="nt">&lt;epsilon.emf.loadModel</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Library&quot;</span>
<span class="w">                  </span><span class="na">modelfile=</span><span class="s">&quot;library.model&quot;</span>
<span class="w">                  </span><span class="na">metamodelfile=</span><span class="s">&quot;library.ecore&quot;</span><span class="nt">/&gt;</span>

<span class="w">                </span><span class="cm">&lt;!-- Run library.eol against it --&gt;</span>
<span class="w">                </span><span class="nt">&lt;epsilon.eol</span><span class="w"> </span><span class="na">src=</span><span class="s">&quot;library.eol&quot;</span><span class="nt">&gt;</span>
<span class="w">                    </span><span class="nt">&lt;model</span><span class="w"> </span><span class="na">ref=</span><span class="s">&quot;Library&quot;</span><span class="nt">/&gt;</span>
<span class="w">                </span><span class="nt">&lt;/epsilon.eol&gt;</span>

<span class="w">                </span><span class="cm">&lt;!-- Run library.eunit --&gt;</span>
<span class="w">                </span><span class="nt">&lt;epsilon.eunit</span><span class="w"> </span><span class="na">src=</span><span class="s">&quot;library.eunit&quot;</span><span class="nt">&gt;</span>
<span class="w">                  </span><span class="nt">&lt;modelTasks&gt;</span>
<span class="w">                    </span><span class="nt">&lt;epsilon.emf.loadModel</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;A&quot;</span><span class="w"> </span><span class="na">metamodelfile=</span><span class="s">&quot;library.ecore&quot;</span><span class="w"> </span><span class="na">read=</span><span class="s">&quot;false&quot;</span><span class="w"> </span><span class="na">store=</span><span class="s">&quot;false&quot;</span><span class="w"> </span><span class="na">modelfile=</span><span class="s">&quot;dummyA.model&quot;</span><span class="nt">/&gt;</span>
<span class="w">                    </span><span class="nt">&lt;epsilon.emf.loadModel</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;B&quot;</span><span class="w"> </span><span class="na">metamodelfile=</span><span class="s">&quot;library.ecore&quot;</span><span class="w"> </span><span class="na">read=</span><span class="s">&quot;false&quot;</span><span class="w"> </span><span class="na">store=</span><span class="s">&quot;false&quot;</span><span class="w"> </span><span class="na">modelfile=</span><span class="s">&quot;dummyB.model&quot;</span><span class="nt">/&gt;</span>
<span class="w">                  </span><span class="nt">&lt;/modelTasks&gt;</span>
<span class="w">                  </span><span class="nt">&lt;comparators&gt;</span>
<span class="w">                    </span><span class="nt">&lt;comparator</span><span class="w"> </span><span class="na">classname=</span><span class="s">&quot;org.eclipse.epsilon.eunit.cmp.emf.EMFModelComparator&quot;</span><span class="w"> </span><span class="nt">/&gt;</span>
<span class="w">                  </span><span class="nt">&lt;/comparators&gt;</span>
<span class="w">                </span><span class="nt">&lt;/epsilon.eunit&gt;</span>
<span class="w">              </span><span class="nt">&lt;/target&gt;</span>
<span class="w">            </span><span class="nt">&lt;/configuration&gt;</span>
<span class="w">            </span><span class="nt">&lt;goals&gt;</span>
<span class="w">              </span><span class="nt">&lt;goal&gt;</span>run<span class="nt">&lt;/goal&gt;</span>
<span class="w">            </span><span class="nt">&lt;/goals&gt;</span>
<span class="w">          </span><span class="nt">&lt;/execution&gt;</span>
<span class="w">        </span><span class="nt">&lt;/executions&gt;</span>
<span class="w">        </span><span class="nt">&lt;dependencies&gt;</span>
<span class="w">          </span><span class="nt">&lt;dependency&gt;</span>
<span class="w">            </span><span class="nt">&lt;groupId&gt;</span>org.eclipse.epsilon<span class="nt">&lt;/groupId&gt;</span>
<span class="w">            </span><span class="nt">&lt;artifactId&gt;</span>org.eclipse.epsilon.workflow<span class="nt">&lt;/artifactId&gt;</span>
<span class="w">            </span><span class="nt">&lt;version&gt;</span>2.4.0<span class="nt">&lt;/version&gt;</span>
<span class="w">          </span><span class="nt">&lt;/dependency&gt;</span>
<span class="w">          </span><span class="nt">&lt;dependency&gt;</span>
<span class="w">            </span><span class="nt">&lt;groupId&gt;</span>org.eclipse.epsilon<span class="nt">&lt;/groupId&gt;</span>
<span class="w">            </span><span class="nt">&lt;artifactId&gt;</span>org.eclipse.epsilon.workflow.emf<span class="nt">&lt;/artifactId&gt;</span>
<span class="w">            </span><span class="nt">&lt;version&gt;</span>2.4.0<span class="nt">&lt;/version&gt;</span>
<span class="w">          </span><span class="nt">&lt;/dependency&gt;</span>
<span class="w">          </span><span class="nt">&lt;dependency&gt;</span>
<span class="w">            </span><span class="nt">&lt;groupId&gt;</span>org.eclipse.epsilon<span class="nt">&lt;/groupId&gt;</span>
<span class="w">            </span><span class="nt">&lt;artifactId&gt;</span>org.eclipse.epsilon.eunit.cmp.emf<span class="nt">&lt;/artifactId&gt;</span>
<span class="w">            </span><span class="nt">&lt;version&gt;</span>2.4.0<span class="nt">&lt;/version&gt;</span>
<span class="w">          </span><span class="nt">&lt;/dependency&gt;</span>
<span class="w">        </span><span class="nt">&lt;/dependencies&gt;</span>
<span class="w">      </span><span class="nt">&lt;/plugin&gt;</span>
<span class="w">    </span><span class="nt">&lt;/plugins&gt;</span>
<span class="w">  </span><span class="nt">&lt;/build&gt;</span>
<span class="nt">&lt;/project&gt;</span>
</code></pre></div>
</div>
</div>
</div>
<h2 id="gradle">Gradle<a class="headerlink" href="#gradle" title="Permanent link">&para;</a></h2>
<p>Since Gradle can also <a href="https://docs.gradle.org/current/userguide/ant.html">run Ant tasks</a>, Epsilon Ant tasks can also be executed from a Gradle build (<code>gradle run</code>) as shown below.</p>
<div class="tabbed-set tabbed-alternate" data-tabs="3:1"><input checked="checked" id="__tabbed_3_1" name="__tabbed_3" type="radio" /><div class="tabbed-labels"><label for="__tabbed_3_1">build.gradle</label></div>
<div class="tabbed-content">
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="n">configurations</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">epsilon</span>
<span class="o">}</span>

<span class="n">repositories</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">maven</span><span class="w"> </span><span class="o">{</span>
<span class="w">        </span><span class="n">url</span><span class="w"> </span><span class="s2">&quot;https://oss.sonatype.org/content/repositories/snapshots&quot;</span>
<span class="w">    </span><span class="o">}</span>
<span class="w">    </span><span class="n">mavenCentral</span><span class="o">()</span>
<span class="o">}</span>

<span class="n">dependencies</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.epsilon:org.eclipse.epsilon.workflow:2.4.0&#39;</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.epsilon:org.eclipse.epsilon.workflow.emf:2.4.0&#39;</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.epsilon:org.eclipse.epsilon.eunit.cmp.emf:2.4.0&#39;</span>
<span class="o">}</span>

<span class="n">task</span><span class="w"> </span><span class="n">setupEpsilonTasks</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="c1">// Set up the core Epsilon tasks</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="na">taskdef</span><span class="o">(</span><span class="nl">resource:</span><span class="w"> </span><span class="s1">&#39;org/eclipse/epsilon/workflow/tasks/tasks.xml&#39;</span><span class="o">,</span><span class="w"> </span>
<span class="w">        </span><span class="nl">classpath:</span><span class="w"> </span><span class="n">configurations</span><span class="o">.</span><span class="na">epsilon</span><span class="o">.</span><span class="na">asPath</span><span class="o">,</span><span class="w"> </span><span class="nl">loaderref:</span><span class="w"> </span><span class="s1">&#39;epsilon&#39;</span><span class="o">)</span>
<span class="w">    </span><span class="c1">// Set up the Epsilon EMF tasks</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="na">taskdef</span><span class="o">(</span><span class="nl">resource:</span><span class="w"> </span><span class="s1">&#39;org/eclipse/epsilon/workflow/tasks/emf/tasks.xml&#39;</span><span class="o">,</span><span class="w"> </span>
<span class="w">        </span><span class="nl">classpath:</span><span class="w"> </span><span class="n">configurations</span><span class="o">.</span><span class="na">epsilon</span><span class="o">.</span><span class="na">asPath</span><span class="o">,</span><span class="w"> </span><span class="nl">loaderref:</span><span class="w"> </span><span class="s1">&#39;epsilon&#39;</span><span class="o">)</span>
<span class="w">    </span><span class="c1">// Set logging level to info so that EOL&#39;s println() is not suppressed</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="na">lifecycleLogLevel</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">&#39;INFO&#39;</span>
<span class="o">}</span>

<span class="n">task</span><span class="w"> </span><span class="n">run</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">dependsOn</span><span class="w"> </span><span class="n">tasks</span><span class="o">.</span><span class="na">setupEpsilonTasks</span>
<span class="w">    </span><span class="c1">// Load the library.model EMF model</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="s1">&#39;epsilon.emf.loadModel&#39;</span><span class="o">(</span><span class="nl">name:</span><span class="w"> </span><span class="s1">&#39;Library&#39;</span><span class="o">,</span><span class="w"> </span>
<span class="w">        </span><span class="nl">modelfile:</span><span class="w"> </span><span class="s1">&#39;library.model&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">metamodelfile:</span><span class="w"> </span><span class="s1">&#39;library.ecore&#39;</span><span class="o">)</span>

<span class="w">    </span><span class="c1">// Run library.eol against it</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="s1">&#39;epsilon.eol&#39;</span><span class="o">(</span><span class="nl">src:</span><span class="w"> </span><span class="s1">&#39;library.eol&#39;</span><span class="o">){</span><span class="w"> </span><span class="n">model</span><span class="o">(</span><span class="nl">ref:</span><span class="w"> </span><span class="s1">&#39;Library&#39;</span><span class="o">)</span><span class="w"> </span><span class="o">}</span>

<span class="w">    </span><span class="c1">// Run library.eunit</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="s1">&#39;epsilon.eunit&#39;</span><span class="o">(</span><span class="nl">src:</span><span class="w"> </span><span class="s1">&#39;library.eunit&#39;</span><span class="o">){</span>
<span class="w">        </span><span class="n">modelTasks</span><span class="o">()</span><span class="w"> </span><span class="o">{</span>
<span class="w">            </span><span class="n">ant</span><span class="o">.</span><span class="s1">&#39;epsilon.emf.loadModel&#39;</span><span class="o">(</span><span class="nl">name:</span><span class="w"> </span><span class="s1">&#39;A&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">metamodelfile:</span><span class="w"> </span><span class="s1">&#39;library.ecore&#39;</span><span class="o">,</span>
<span class="w">                </span><span class="nl">read:</span><span class="w"> </span><span class="s1">&#39;false&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">store:</span><span class="w"> </span><span class="s1">&#39;false&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">modelfile:</span><span class="w"> </span><span class="s1">&#39;dummyA.model&#39;</span><span class="o">)</span>
<span class="w">            </span><span class="n">ant</span><span class="o">.</span><span class="s1">&#39;epsilon.emf.loadModel&#39;</span><span class="o">(</span><span class="nl">name:</span><span class="w"> </span><span class="s1">&#39;B&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">metamodelfile:</span><span class="w"> </span><span class="s1">&#39;library.ecore&#39;</span><span class="o">,</span>
<span class="w">                </span><span class="nl">read:</span><span class="w"> </span><span class="s1">&#39;false&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">store:</span><span class="w"> </span><span class="s1">&#39;false&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">modelfile:</span><span class="w"> </span><span class="s1">&#39;dummyB.model&#39;</span><span class="o">)</span>
<span class="w">        </span><span class="o">}</span>
<span class="w">        </span><span class="n">comparators</span><span class="o">()</span><span class="w"> </span><span class="o">{</span>
<span class="w">            </span><span class="n">comparator</span><span class="o">(</span><span class="nl">classname:</span>
<span class="w">                </span><span class="s1">&#39;org.eclipse.epsilon.eunit.cmp.emf.EMFModelComparator&#39;</span><span class="o">)</span>
<span class="w">        </span><span class="o">}</span>
<span class="w">    </span><span class="o">}</span>
<span class="o">}</span>
</code></pre></div>
</div>
</div>
</div>
<h2 id="flexmi-and-emfatic">Flexmi and Emfatic<a class="headerlink" href="#flexmi-and-emfatic" title="Permanent link">&para;</a></h2>
<p>You can also use <a href="../../flexmi">Flexmi</a> instead of XMI (<code>library.flexmi</code> instead of <code>library.model</code>) for the model, and <a href="https://eclipse.org/emfatic">Emfatic</a> instead of Ecore (<code>library.emf</code> instead of <code>library.ecore</code>) by adding the following dependency to your ANT/Maven/Gradle build.</p>
<div class="tabbed-set tabbed-alternate" data-tabs="4:3"><input checked="checked" id="__tabbed_4_1" name="__tabbed_4" type="radio" /><input id="__tabbed_4_2" name="__tabbed_4" type="radio" /><input id="__tabbed_4_3" name="__tabbed_4" type="radio" /><div class="tabbed-labels"><label for="__tabbed_4_1">Ivy/ANT</label><label for="__tabbed_4_2">Maven</label><label for="__tabbed_4_3">Gradle</label></div>
<div class="tabbed-content">
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="nt">&lt;dependency</span><span class="w"> </span><span class="na">org=</span><span class="s">&quot;org.eclipse.emfatic&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;org.eclipse.emfatic.core&quot;</span><span class="w"> </span><span class="na">rev=</span><span class="s">&quot;1.1.0-SNAPSHOT&quot;</span><span class="w"> </span><span class="na">conf=</span><span class="s">&quot;binaries-&gt;default&quot;</span><span class="nt">/&gt;</span>
</code></pre></div>
</div>
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="nt">&lt;dependency&gt;</span>
<span class="w">    </span><span class="nt">&lt;groupId&gt;</span>org.eclipse.emfatic<span class="nt">&lt;/groupId&gt;</span>
<span class="w">    </span><span class="nt">&lt;artifactId&gt;</span>org.eclipse.emfatic.core<span class="nt">&lt;/artifactId&gt;</span>
<span class="w">    </span><span class="nt">&lt;version&gt;</span>1.1.0-SNAPSHOT<span class="nt">&lt;/version&gt;</span>
<span class="nt">&lt;/dependency&gt;</span>
</code></pre></div>
</div>
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.emfatic:org.eclipse.emfatic.core:1.1.0-SNAPSHOT&#39;</span>
</code></pre></div>
</div>
</div>
</div>
<p>A complete Gradle example that uses <code>library.flexmi</code> instead of (the XMI-based) <code>library.model</code>, and <code>library.emf</code> instead of <code>library.ecore</code> is shown below.</p>
<div class="tabbed-set tabbed-alternate" data-tabs="5:4"><input checked="checked" id="__tabbed_5_1" name="__tabbed_5" type="radio" /><input id="__tabbed_5_2" name="__tabbed_5" type="radio" /><input id="__tabbed_5_3" name="__tabbed_5" type="radio" /><input id="__tabbed_5_4" name="__tabbed_5" type="radio" /><div class="tabbed-labels"><label for="__tabbed_5_1">build.gradle</label><label for="__tabbed_5_2">library.eol</label><label for="__tabbed_5_3">library.flexmi</label><label for="__tabbed_5_4">library.emf</label></div>
<div class="tabbed-content">
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="n">configurations</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">epsilon</span>
<span class="o">}</span>

<span class="n">repositories</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">maven</span><span class="w"> </span><span class="o">{</span>
<span class="w">        </span><span class="n">url</span><span class="w"> </span><span class="s2">&quot;https://oss.sonatype.org/content/repositories/snapshots&quot;</span>
<span class="w">    </span><span class="o">}</span>
<span class="w">    </span><span class="n">mavenCentral</span><span class="o">()</span>
<span class="o">}</span>

<span class="n">dependencies</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.epsilon:org.eclipse.epsilon.workflow:2.4.0&#39;</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.epsilon:org.eclipse.epsilon.workflow.emf:2.4.0&#39;</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="o">(</span><span class="s1">&#39;org.eclipse.emfatic:org.eclipse.emfatic.core:1.1.0-SNAPSHOT&#39;</span><span class="o">)</span><span class="w"> </span><span class="o">{</span>
<span class="w">        </span><span class="n">exclude</span><span class="w"> </span><span class="nl">group:</span><span class="w"> </span><span class="s1">&#39;org.eclipse.platform&#39;</span>
<span class="w">    </span><span class="o">}</span>
<span class="o">}</span>

<span class="n">task</span><span class="w"> </span><span class="n">setupEpsilonTasks</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="c1">// Set up the core Epsilon tasks</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="na">taskdef</span><span class="o">(</span><span class="nl">resource:</span><span class="w"> </span><span class="s1">&#39;org/eclipse/epsilon/workflow/tasks/tasks.xml&#39;</span><span class="o">,</span><span class="w"> </span>
<span class="w">        </span><span class="nl">classpath:</span><span class="w"> </span><span class="n">configurations</span><span class="o">.</span><span class="na">epsilon</span><span class="o">.</span><span class="na">asPath</span><span class="o">,</span><span class="w"> </span><span class="nl">loaderref:</span><span class="w"> </span><span class="s1">&#39;epsilon&#39;</span><span class="o">)</span>
<span class="w">    </span><span class="c1">// Set up the Epsilon EMF tasks</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="na">taskdef</span><span class="o">(</span><span class="nl">resource:</span><span class="w"> </span><span class="s1">&#39;org/eclipse/epsilon/workflow/tasks/emf/tasks.xml&#39;</span><span class="o">,</span><span class="w"> </span>
<span class="w">        </span><span class="nl">classpath:</span><span class="w"> </span><span class="n">configurations</span><span class="o">.</span><span class="na">epsilon</span><span class="o">.</span><span class="na">asPath</span><span class="o">,</span><span class="w"> </span><span class="nl">loaderref:</span><span class="w"> </span><span class="s1">&#39;epsilon&#39;</span><span class="o">)</span>
<span class="w">    </span><span class="c1">// Set logging level to info so that EOL&#39;s println() is not suppressed</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="na">lifecycleLogLevel</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">&#39;INFO&#39;</span>
<span class="o">}</span>

<span class="n">task</span><span class="w"> </span><span class="n">run</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">dependsOn</span><span class="w"> </span><span class="n">tasks</span><span class="o">.</span><span class="na">setupEpsilonTasks</span>
<span class="w">    </span><span class="c1">// Load the library.flexmi EMF model</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="s1">&#39;epsilon.emf.loadModel&#39;</span><span class="o">(</span><span class="nl">name:</span><span class="w"> </span><span class="s1">&#39;Library&#39;</span><span class="o">,</span><span class="w"> </span>
<span class="w">        </span><span class="nl">modelfile:</span><span class="w"> </span><span class="s1">&#39;../library.flexmi&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">metamodelfile:</span><span class="w"> </span><span class="s1">&#39;../library.emf&#39;</span><span class="o">)</span>

<span class="w">    </span><span class="c1">// Run library.eol against it</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="s1">&#39;epsilon.eol&#39;</span><span class="o">(</span><span class="nl">src:</span><span class="w"> </span><span class="s1">&#39;../library.eol&#39;</span><span class="o">){</span><span class="w"> </span><span class="n">model</span><span class="o">(</span><span class="nl">ref:</span><span class="w"> </span><span class="s1">&#39;Library&#39;</span><span class="o">)</span><span class="w"> </span><span class="o">}</span>
<span class="o">}</span>
</code></pre></div>
</div>
<div class="tabbed-block">
<pre class="prettyprint lang-eol"><code>for (writer in Writer.all) {
    (writer.name + " wrote " + writer.books.title.concat(", ")).println();
}</code></pre>
</div>
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="cp">&lt;?nsuri library?&gt;</span>
<span class="nt">&lt;library&gt;</span>
<span class="w">  </span><span class="nt">&lt;writer</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Agatha Christie&quot;</span><span class="nt">/&gt;</span>
<span class="w">  </span><span class="nt">&lt;book</span><span class="w"> </span><span class="na">title=</span><span class="s">&quot;Endless Night&quot;</span><span class="w"> </span><span class="na">pages=</span><span class="s">&quot;224&quot;</span><span class="w"> </span><span class="na">author=</span><span class="s">&quot;Agatha Christie&quot;</span><span class="nt">/&gt;</span>
<span class="nt">&lt;/library&gt;</span>
</code></pre></div>
</div>
<div class="tabbed-block">
<pre class="prettyprint lang-emf"><code>@namespace(uri="library", prefix="")
package library;

class Library {
    val Writer[*] writers;
    val Book[*] books;
}

class Writer {
    attr String name;
    ref Book[*]#author books;
}

class Book {
    attr String title;
    attr int pages = 100;
    attr BookCategory category;
    ref Writer[1]#books author;
}

enum BookCategory {
    Mystery = 0;
    ScienceFiction = 1;
    Biography = 2;
}

</code></pre>
</div>
</div>
</div>
<h2 id="excel">Excel<a class="headerlink" href="#excel" title="Permanent link">&para;</a></h2>
<p>The example below demonstrates using the generic <code>epsilon.loadModel</code> task to run the same EOL program against an <a href="../excel">Excel spreadsheet</a>.</p>
<div class="tabbed-set tabbed-alternate" data-tabs="6:2"><input checked="checked" id="__tabbed_6_1" name="__tabbed_6" type="radio" /><input id="__tabbed_6_2" name="__tabbed_6" type="radio" /><div class="tabbed-labels"><label for="__tabbed_6_1">build.gradle</label><label for="__tabbed_6_2">mapping.xml</label></div>
<div class="tabbed-content">
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="n">configurations</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">epsilon</span>
<span class="o">}</span>

<span class="n">repositories</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">maven</span><span class="w"> </span><span class="o">{</span>
<span class="w">        </span><span class="n">url</span><span class="w"> </span><span class="s2">&quot;https://oss.sonatype.org/content/repositories/snapshots&quot;</span>
<span class="w">    </span><span class="o">}</span>
<span class="w">    </span><span class="n">mavenCentral</span><span class="o">()</span>
<span class="o">}</span>

<span class="n">dependencies</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.epsilon:org.eclipse.epsilon.workflow:2.4.0&#39;</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.epsilon:org.eclipse.epsilon.emc.spreadsheets.excel:2.4.0&#39;</span>
<span class="o">}</span>

<span class="n">task</span><span class="w"> </span><span class="n">setupEpsilonTasks</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="c1">// Set up the core Epsilon tasks</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="na">taskdef</span><span class="o">(</span><span class="nl">resource:</span><span class="w"> </span><span class="s1">&#39;org/eclipse/epsilon/workflow/tasks/tasks.xml&#39;</span><span class="o">,</span><span class="w"> </span>
<span class="w">        </span><span class="nl">classpath:</span><span class="w"> </span><span class="n">configurations</span><span class="o">.</span><span class="na">epsilon</span><span class="o">.</span><span class="na">asPath</span><span class="o">,</span><span class="w"> </span><span class="nl">loaderref:</span><span class="w"> </span><span class="s1">&#39;epsilon&#39;</span><span class="o">)</span>
<span class="w">    </span><span class="c1">// Set logging level to info so that EOL&#39;s println() is not suppressed</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="na">lifecycleLogLevel</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">&#39;INFO&#39;</span>
<span class="o">}</span>

<span class="n">task</span><span class="w"> </span><span class="n">run</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">dependsOn</span><span class="w"> </span><span class="n">tasks</span><span class="o">.</span><span class="na">setupEpsilonTasks</span>
<span class="w">    </span><span class="c1">// Load the library.xlsx spreadsheet</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="s1">&#39;epsilon.loadModel&#39;</span><span class="o">(</span><span class="nl">name:</span><span class="w"> </span><span class="s1">&#39;Library&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">impl:</span><span class="w"> </span><span class="s1">&#39;org.eclipse.epsilon.emc.spreadsheets.excel.ExcelModel&#39;</span><span class="o">){</span>
<span class="w">        </span><span class="n">parameter</span><span class="o">(</span><span class="nl">name:</span><span class="w"> </span><span class="s1">&#39;SPREADSHEET_FILE&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">file:</span><span class="w"> </span><span class="s1">&#39;library.xlsx&#39;</span><span class="o">)</span>
<span class="w">        </span><span class="n">parameter</span><span class="o">(</span><span class="nl">name:</span><span class="w"> </span><span class="s1">&#39;CONFIGURATION_FILE&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">file:</span><span class="w"> </span><span class="s1">&#39;mapping.xml&#39;</span><span class="o">)</span>
<span class="w">    </span><span class="o">}</span>

<span class="w">    </span><span class="c1">// Run library.eol against it</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="s1">&#39;epsilon.eol&#39;</span><span class="o">(</span><span class="nl">src:</span><span class="w"> </span><span class="s1">&#39;../library.eol&#39;</span><span class="o">){</span><span class="w"> </span><span class="n">model</span><span class="o">(</span><span class="nl">ref:</span><span class="w"> </span><span class="s1">&#39;Library&#39;</span><span class="o">)</span><span class="w"> </span><span class="o">}</span>
<span class="o">}</span>
</code></pre></div>
</div>
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="nt">&lt;spreadsheet&gt;</span>
<span class="w">  </span><span class="nt">&lt;worksheet</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Writer&quot;</span><span class="nt">&gt;</span>
<span class="w">    </span><span class="nt">&lt;column</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;name&quot;</span><span class="nt">/&gt;</span>
<span class="w">    </span><span class="nt">&lt;column</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;books&quot;</span><span class="w"> </span><span class="na">many=</span><span class="s">&quot;true&quot;</span><span class="nt">/&gt;</span>
<span class="w">  </span><span class="nt">&lt;/worksheet&gt;</span>
<span class="w">  </span><span class="nt">&lt;worksheet</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Book&quot;</span><span class="nt">&gt;</span>
<span class="w">    </span><span class="nt">&lt;column</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;id&quot;</span><span class="nt">/&gt;</span>
<span class="w">    </span><span class="nt">&lt;column</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;title&quot;</span><span class="nt">/&gt;</span><span class="w">    </span>
<span class="w">    </span><span class="nt">&lt;column</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;pages&quot;</span><span class="w"> </span><span class="na">datatype=</span><span class="s">&quot;integer&quot;</span><span class="nt">/&gt;</span>
<span class="w">  </span><span class="nt">&lt;/worksheet&gt;</span>
<span class="w">  </span><span class="nt">&lt;reference</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;Writer-&gt;books&quot;</span>
<span class="w">             </span><span class="na">target=</span><span class="s">&quot;Book-&gt;id&quot;</span><span class="nt">/&gt;</span><span class="w">                    </span>
<span class="nt">&lt;/spreadsheet&gt;</span>
</code></pre></div>
</div>
</div>
</div>
<h2 id="uml">UML<a class="headerlink" href="#uml" title="Permanent link">&para;</a></h2>
<p>Models conforming to the <a href="http://wiki.eclipse.org/MDT/UML2">Eclipse UML2 metamodel</a> can be queried as shown below.</p>
<div class="tabbed-set tabbed-alternate" data-tabs="7:3"><input checked="checked" id="__tabbed_7_1" name="__tabbed_7" type="radio" /><input id="__tabbed_7_2" name="__tabbed_7" type="radio" /><input id="__tabbed_7_3" name="__tabbed_7" type="radio" /><div class="tabbed-labels"><label for="__tabbed_7_1">build.gradle</label><label for="__tabbed_7_2">uml.eol</label><label for="__tabbed_7_3">model.uml</label></div>
<div class="tabbed-content">
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="n">configurations</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">epsilon</span>
<span class="o">}</span>

<span class="n">repositories</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">maven</span><span class="w"> </span><span class="o">{</span>
<span class="w">        </span><span class="n">url</span><span class="w"> </span><span class="s2">&quot;https://repo.eclipse.org/content/repositories/acceleo-releases/&quot;</span>
<span class="w">    </span><span class="o">}</span>
<span class="w">    </span><span class="n">maven</span><span class="w"> </span><span class="o">{</span>
<span class="w">        </span><span class="n">url</span><span class="w"> </span><span class="s2">&quot;https://oss.sonatype.org/content/repositories/snapshots&quot;</span>
<span class="w">    </span><span class="o">}</span>
<span class="w">    </span><span class="n">mavenCentral</span><span class="o">()</span>
<span class="o">}</span>

<span class="n">dependencies</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">epsilon</span><span class="o">(</span><span class="s1">&#39;org.eclipse.epsilon:org.eclipse.epsilon.emc.uml:2.4.0&#39;</span><span class="o">)</span><span class="w"> </span><span class="o">{</span>
<span class="w">        </span><span class="c1">// UML2 is broken on Maven Central</span>
<span class="w">        </span><span class="n">exclude</span><span class="w"> </span><span class="nl">group:</span><span class="w"> </span><span class="s1">&#39;org.eclipse.uml2&#39;</span>
<span class="w">    </span><span class="o">}</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.epsilon:org.eclipse.epsilon.workflow:2.4.0&#39;</span>

<span class="w">    </span><span class="c1">// Fetch the UML2 dependencies from repo.eclipse.org instead</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.uml2:org.eclipse.uml2.uml:5.0.1.v20140910-1354&#39;</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.uml2:org.eclipse.uml2.common:2.0.1.v20140910-1354&#39;</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.uml2:org.eclipse.uml2.types:2.0.0.v20140910-1354&#39;</span>
<span class="o">}</span>

<span class="n">task</span><span class="w"> </span><span class="n">setupEpsilonTasks</span><span class="w"> </span><span class="o">{</span>

<span class="w">    </span><span class="c1">// Set up the core Epsilon tasks</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="na">taskdef</span><span class="o">(</span><span class="nl">resource:</span><span class="w"> </span><span class="s1">&#39;org/eclipse/epsilon/workflow/tasks/tasks.xml&#39;</span><span class="o">,</span><span class="w"> </span>
<span class="w">        </span><span class="nl">classpath:</span><span class="w"> </span><span class="n">configurations</span><span class="o">.</span><span class="na">epsilon</span><span class="o">.</span><span class="na">asPath</span><span class="o">,</span><span class="w"> </span><span class="nl">loaderref:</span><span class="w"> </span><span class="s1">&#39;epsilon&#39;</span><span class="o">)</span>

<span class="w">    </span><span class="c1">// Set logging level to info so that EOL&#39;s println() is not suppressed</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="na">lifecycleLogLevel</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">&#39;INFO&#39;</span>
<span class="o">}</span>

<span class="n">task</span><span class="w"> </span><span class="n">run</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">dependsOn</span><span class="w"> </span><span class="n">tasks</span><span class="o">.</span><span class="na">setupEpsilonTasks</span>

<span class="w">    </span><span class="c1">// Load a UML model from model.uml</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="s1">&#39;epsilon.loadModel&#39;</span><span class="o">(</span><span class="nl">name:</span><span class="w"> </span><span class="s1">&#39;UML&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">impl:</span><span class="w"> </span><span class="s1">&#39;org.eclipse.epsilon.emc.uml.UmlModel&#39;</span><span class="o">){</span>
<span class="w">        </span><span class="n">parameter</span><span class="o">(</span><span class="nl">name:</span><span class="w"> </span><span class="s1">&#39;modelFile&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">file:</span><span class="w"> </span><span class="s1">&#39;model.uml&#39;</span><span class="o">)</span>
<span class="w">    </span><span class="o">}</span>

<span class="w">    </span><span class="c1">// Run library.eol against it</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="s1">&#39;epsilon.eol&#39;</span><span class="o">(</span><span class="nl">src:</span><span class="w"> </span><span class="s1">&#39;uml.eol&#39;</span><span class="o">){</span><span class="w"> </span><span class="n">model</span><span class="o">(</span><span class="nl">ref:</span><span class="w"> </span><span class="s1">&#39;UML&#39;</span><span class="o">)</span><span class="w"> </span><span class="o">}</span>

<span class="o">}</span>
</code></pre></div>
</div>
<div class="tabbed-block">
<pre class="prettyprint lang-eol"><code>// Print the names of all
// classes in the model
for (c in Class.all) {
    c.name.println();
}</code></pre>
</div>
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="cp">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</span>
<span class="nt">&lt;xmi:XMI</span><span class="w"> </span><span class="na">xmi:version=</span><span class="s">&quot;2.1&quot;</span><span class="w"> </span><span class="na">xmlns:xmi=</span><span class="s">&quot;http://schema.omg.org/spec/XMI/2.1&quot;</span><span class="w"> </span><span class="na">xmlns:xsi=</span><span class="s">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</span><span class="w"> </span><span class="na">xmlns:uml=</span><span class="s">&quot;http://www.eclipse.org/uml2/5.0.0/UML&quot;</span><span class="nt">&gt;</span>
<span class="w">  </span><span class="nt">&lt;uml:Model</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_in3dgJiMEeuzROqeHhotPw&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;umlcddemo&quot;</span><span class="nt">&gt;</span>
<span class="w">    </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">      </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_in3dgJiMEeuzROqeHhotPw0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_in3dgJiMEeuzROqeHhotPw00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_in3dgJiMEeuzROqeHhotPw&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_in3dgJiMEeuzROqeHhotPw01&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;author&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;kolovos&quot;</span><span class="nt">/&gt;</span>
<span class="w">      </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">    </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">    </span><span class="nt">&lt;packageImport</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_in3dgZiMEeuzROqeHhotPw&quot;</span><span class="w"> </span><span class="na">importingNamespace=</span><span class="s">&quot;_in3dgJiMEeuzROqeHhotPw&quot;</span><span class="nt">&gt;</span>
<span class="w">      </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_in3dgZiMEeuzROqeHhotPw0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_in3dgZiMEeuzROqeHhotPw00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_in3dgZiMEeuzROqeHhotPw&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">      </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">      </span><span class="nt">&lt;importedPackage</span><span class="w"> </span><span class="na">href=</span><span class="s">&quot;http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#/&quot;</span><span class="nt">/&gt;</span>
<span class="w">    </span><span class="nt">&lt;/packageImport&gt;</span>
<span class="w">    </span><span class="nt">&lt;packagedElement</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:Class&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_rAoBcHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Project&quot;</span><span class="nt">&gt;</span>
<span class="w">      </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_rAoBcHq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_rAoBcHq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_rAoBcHq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">      </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">    </span><span class="nt">&lt;/packagedElement&gt;</span>
<span class="w">    </span><span class="nt">&lt;packagedElement</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:Class&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_xAOzcHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Task&quot;</span><span class="nt">&gt;</span>
<span class="w">      </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_xAOzcHq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_xAOzcHq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_xAOzcHq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">      </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">    </span><span class="nt">&lt;/packagedElement&gt;</span>
<span class="w">    </span><span class="nt">&lt;packagedElement</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:Association&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHEfsXq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Project_Task&quot;</span><span class="w"> </span><span class="na">memberEnd=</span><span class="s">&quot;_yHD4oXq6EDmVkdImmyh-dQ _yHCqgHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">navigableOwnedEnd=</span><span class="s">&quot;_yHCqgHq6EDmVkdImmyh-dQ _yHD4oXq6EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">      </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHEfsXq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHEfsXq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_yHEfsXq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">      </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">      </span><span class="nt">&lt;ownedEnd</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHCqgHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;project&quot;</span><span class="w"> </span><span class="na">type=</span><span class="s">&quot;_rAoBcHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">owningAssociation=</span><span class="s">&quot;_yHEfsXq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">association=</span><span class="s">&quot;_yHEfsXq6EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHCqgHq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHCqgHq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_yHCqgHq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">          </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">        </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;lowerValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralInteger&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHDRkHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;1&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHDRkHq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHDRkHq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_yHDRkHq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/lowerValue&gt;</span>
<span class="w">        </span><span class="nt">&lt;upperValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralInteger&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHD4oHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;1&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHD4oHq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHD4oHq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_yHD4oHq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/upperValue&gt;</span>
<span class="w">      </span><span class="nt">&lt;/ownedEnd&gt;</span>
<span class="w">      </span><span class="nt">&lt;ownedEnd</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHD4oXq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;tasks&quot;</span><span class="w"> </span><span class="na">type=</span><span class="s">&quot;_xAOzcHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">owningAssociation=</span><span class="s">&quot;_yHEfsXq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">association=</span><span class="s">&quot;_yHEfsXq6EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHD4oXq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHD4oXq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_yHD4oXq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">          </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">        </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;lowerValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralInteger&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHD4onq6EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHD4onq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_yHD4onq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_yHD4onq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/lowerValue&gt;</span>
<span class="w">        </span><span class="nt">&lt;upperValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralUnlimitedNatural&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_zUmCwHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;*&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_zUmCwHq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_zUmCwHq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_zUmCwHq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/upperValue&gt;</span>
<span class="w">      </span><span class="nt">&lt;/ownedEnd&gt;</span>
<span class="w">    </span><span class="nt">&lt;/packagedElement&gt;</span>
<span class="w">    </span><span class="nt">&lt;packagedElement</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:Class&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_86ZfYHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Person&quot;</span><span class="nt">&gt;</span>
<span class="w">      </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_86ZfYHq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_86ZfYHq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_86ZfYHq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">      </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">    </span><span class="nt">&lt;/packagedElement&gt;</span>
<span class="w">    </span><span class="nt">&lt;packagedElement</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:Association&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5z0nq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Project_Person&quot;</span><span class="w"> </span><span class="na">memberEnd=</span><span class="s">&quot;_-j5Mwnq6EDmVkdImmyh-dQ _-j4lsnq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">navigableOwnedEnd=</span><span class="s">&quot;_-j4lsnq6EDmVkdImmyh-dQ _-j5Mwnq6EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">      </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5z0nq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5z0nq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_-j5z0nq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">      </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">      </span><span class="nt">&lt;ownedEnd</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j4lsnq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;project&quot;</span><span class="w"> </span><span class="na">type=</span><span class="s">&quot;_rAoBcHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">owningAssociation=</span><span class="s">&quot;_-j5z0nq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">association=</span><span class="s">&quot;_-j5z0nq6EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j4lsnq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j4lsnq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_-j4lsnq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">          </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">        </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;lowerValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralInteger&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5MwHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;1&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5MwHq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5MwHq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_-j5MwHq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/lowerValue&gt;</span>
<span class="w">        </span><span class="nt">&lt;upperValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralInteger&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5MwXq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;1&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5MwXq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5MwXq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_-j5MwXq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/upperValue&gt;</span>
<span class="w">      </span><span class="nt">&lt;/ownedEnd&gt;</span>
<span class="w">      </span><span class="nt">&lt;ownedEnd</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5Mwnq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;persons&quot;</span><span class="w"> </span><span class="na">type=</span><span class="s">&quot;_86ZfYHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">owningAssociation=</span><span class="s">&quot;_-j5z0nq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">association=</span><span class="s">&quot;_-j5z0nq6EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5Mwnq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5Mwnq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_-j5Mwnq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">          </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">        </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;lowerValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralInteger&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5z0Hq6EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5z0Hq6EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_-j5z0Hq6EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_-j5z0Hq6EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/lowerValue&gt;</span>
<span class="w">        </span><span class="nt">&lt;upperValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralUnlimitedNatural&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_Ctk-8Hq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;*&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_Ctk-8Hq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_Ctk-8Hq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_Ctk-8Hq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/upperValue&gt;</span>
<span class="w">      </span><span class="nt">&lt;/ownedEnd&gt;</span>
<span class="w">    </span><span class="nt">&lt;/packagedElement&gt;</span>
<span class="w">    </span><span class="nt">&lt;packagedElement</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:Class&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_FYr6UHq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Effort&quot;</span><span class="nt">&gt;</span>
<span class="w">      </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_FYr6UHq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_FYr6UHq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_FYr6UHq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">      </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">    </span><span class="nt">&lt;/packagedElement&gt;</span>
<span class="w">    </span><span class="nt">&lt;packagedElement</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:Association&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOgzgXq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Effort_Person&quot;</span><span class="w"> </span><span class="na">memberEnd=</span><span class="s">&quot;_HOgMcHq7EDmVkdImmyh-dQ _HOeXQnq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">navigableOwnedEnd=</span><span class="s">&quot;_HOeXQnq7EDmVkdImmyh-dQ _HOgMcHq7EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">      </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOgzgXq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOgzgXq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_HOgzgXq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">      </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">      </span><span class="nt">&lt;ownedEnd</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOeXQnq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;effort&quot;</span><span class="w"> </span><span class="na">type=</span><span class="s">&quot;_FYr6UHq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">owningAssociation=</span><span class="s">&quot;_HOgzgXq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">association=</span><span class="s">&quot;_HOgzgXq7EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOeXQnq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOeXQnq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_HOeXQnq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">          </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">        </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;lowerValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralInteger&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOflYHq7EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOflYHq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOflYHq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_HOflYHq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/lowerValue&gt;</span>
<span class="w">        </span><span class="nt">&lt;upperValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralUnlimitedNatural&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_N8H7AHq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;*&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_N8H7AHq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_N8H7AHq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_N8H7AHq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/upperValue&gt;</span>
<span class="w">      </span><span class="nt">&lt;/ownedEnd&gt;</span>
<span class="w">      </span><span class="nt">&lt;ownedEnd</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOgMcHq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;person&quot;</span><span class="w"> </span><span class="na">type=</span><span class="s">&quot;_86ZfYHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">owningAssociation=</span><span class="s">&quot;_HOgzgXq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">association=</span><span class="s">&quot;_HOgzgXq7EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOgMcHq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOgMcHq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_HOgMcHq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">          </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">        </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;lowerValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralInteger&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOgMcXq7EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOgMcXq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOgMcXq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_HOgMcXq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/lowerValue&gt;</span>
<span class="w">        </span><span class="nt">&lt;upperValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralInteger&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOgzgHq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;1&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOgzgHq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_HOgzgHq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_HOgzgHq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/upperValue&gt;</span>
<span class="w">      </span><span class="nt">&lt;/ownedEnd&gt;</span>
<span class="w">    </span><span class="nt">&lt;/packagedElement&gt;</span>
<span class="w">    </span><span class="nt">&lt;packagedElement</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:Association&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrt3q7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;Effort_Task&quot;</span><span class="w"> </span><span class="na">memberEnd=</span><span class="s">&quot;_JLgrtHq7EDmVkdImmyh-dQ _JLgrsXq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">navigableOwnedEnd=</span><span class="s">&quot;_JLgrsXq7EDmVkdImmyh-dQ _JLgrtHq7EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">      </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrt3q7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrt3q7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_JLgrt3q7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">        </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">      </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">      </span><span class="nt">&lt;ownedEnd</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrsXq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;effort&quot;</span><span class="w"> </span><span class="na">type=</span><span class="s">&quot;_FYr6UHq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">owningAssociation=</span><span class="s">&quot;_JLgrt3q7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">association=</span><span class="s">&quot;_JLgrt3q7EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrsXq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrsXq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_JLgrsXq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">          </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">        </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;lowerValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralInteger&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrsnq7EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrsnq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrsnq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_JLgrsnq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/lowerValue&gt;</span>
<span class="w">        </span><span class="nt">&lt;upperValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralUnlimitedNatural&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_TnCPYHq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;*&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_TnCPYHq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_TnCPYHq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_TnCPYHq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/upperValue&gt;</span>
<span class="w">      </span><span class="nt">&lt;/ownedEnd&gt;</span>
<span class="w">      </span><span class="nt">&lt;ownedEnd</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrtHq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">name=</span><span class="s">&quot;task&quot;</span><span class="w"> </span><span class="na">type=</span><span class="s">&quot;_xAOzcHq6EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">owningAssociation=</span><span class="s">&quot;_JLgrt3q7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">association=</span><span class="s">&quot;_JLgrt3q7EDmVkdImmyh-dQ&quot;</span><span class="nt">&gt;</span>
<span class="w">        </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrtHq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrtHq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_JLgrtHq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">          </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">        </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;lowerValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralInteger&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrtXq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;1&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrtXq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrtXq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_JLgrtXq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/lowerValue&gt;</span>
<span class="w">        </span><span class="nt">&lt;upperValue</span><span class="w"> </span><span class="na">xsi:type=</span><span class="s">&quot;uml:LiteralInteger&quot;</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrtnq7EDmVkdImmyh-dQ&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;1&quot;</span><span class="nt">&gt;</span>
<span class="w">          </span><span class="nt">&lt;xmi:Extension</span><span class="w"> </span><span class="na">extender=</span><span class="s">&quot;http://www.eclipse.org/emf/2002/Ecore&quot;</span><span class="nt">&gt;</span>
<span class="w">            </span><span class="nt">&lt;eAnnotations</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrtnq7EDmVkdImmyh-dQ0&quot;</span><span class="w"> </span><span class="na">source=</span><span class="s">&quot;genmymodel&quot;</span><span class="nt">&gt;</span>
<span class="w">              </span><span class="nt">&lt;details</span><span class="w"> </span><span class="na">xmi:id=</span><span class="s">&quot;_JLgrtnq7EDmVkdImmyh-dQ00&quot;</span><span class="w"> </span><span class="na">key=</span><span class="s">&quot;uuid&quot;</span><span class="w"> </span><span class="na">value=</span><span class="s">&quot;_JLgrtnq7EDmVkdImmyh-dQ&quot;</span><span class="nt">/&gt;</span>
<span class="w">            </span><span class="nt">&lt;/eAnnotations&gt;</span>
<span class="w">          </span><span class="nt">&lt;/xmi:Extension&gt;</span>
<span class="w">        </span><span class="nt">&lt;/upperValue&gt;</span>
<span class="w">      </span><span class="nt">&lt;/ownedEnd&gt;</span>
<span class="w">    </span><span class="nt">&lt;/packagedElement&gt;</span>
<span class="w">  </span><span class="nt">&lt;/uml:Model&gt;</span>
<span class="nt">&lt;/xmi:XMI&gt;</span>
</code></pre></div>
</div>
</div>
</div>
<h3 id="genmymodel">GenMyModel<a class="headerlink" href="#genmymodel" title="Permanent link">&para;</a></h3>
<p><a href="https://www.genmymodel.com/">GenMyModel</a> is a web-based modelling tool that can be used to create UML2-compliant models. You can consume the XMI representation of a public <a href="https://app.genmymodel.com/api/dictionary/projects/_in3dgJiMEeuzROqeHhotPw">GenMyModel UML model</a> directly from Epsilon as shown below.</p>
<div class="tabbed-set tabbed-alternate" data-tabs="8:1"><input checked="checked" id="__tabbed_8_1" name="__tabbed_8" type="radio" /><div class="tabbed-labels"><label for="__tabbed_8_1">build.gradle</label></div>
<div class="tabbed-content">
<div class="tabbed-block">
<div class="highlight"><pre><span></span><code><span class="n">configurations</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">epsilon</span>
<span class="o">}</span>

<span class="n">repositories</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">maven</span><span class="w"> </span><span class="o">{</span>
<span class="w">        </span><span class="n">url</span><span class="w"> </span><span class="s2">&quot;https://repo.eclipse.org/content/repositories/acceleo-releases/&quot;</span>
<span class="w">    </span><span class="o">}</span>
<span class="w">    </span><span class="n">maven</span><span class="w"> </span><span class="o">{</span>
<span class="w">        </span><span class="n">url</span><span class="w"> </span><span class="s2">&quot;https://oss.sonatype.org/content/repositories/snapshots&quot;</span>
<span class="w">    </span><span class="o">}</span>
<span class="w">    </span><span class="n">mavenCentral</span><span class="o">()</span>
<span class="o">}</span>

<span class="n">dependencies</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">epsilon</span><span class="o">(</span><span class="s1">&#39;org.eclipse.epsilon:org.eclipse.epsilon.emc.uml:2.4.0&#39;</span><span class="o">)</span><span class="w"> </span><span class="o">{</span>
<span class="w">        </span><span class="c1">// UML2 is broken on Maven Central</span>
<span class="w">        </span><span class="n">exclude</span><span class="w"> </span><span class="nl">group:</span><span class="w"> </span><span class="s1">&#39;org.eclipse.uml2&#39;</span>
<span class="w">    </span><span class="o">}</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.epsilon:org.eclipse.epsilon.workflow:2.4.0&#39;</span>

<span class="w">    </span><span class="c1">// Fetch the UML2 dependencies from repo.eclipse.org instead</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.uml2:org.eclipse.uml2.uml:5.0.1.v20140910-1354&#39;</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.uml2:org.eclipse.uml2.common:2.0.1.v20140910-1354&#39;</span>
<span class="w">    </span><span class="n">epsilon</span><span class="w"> </span><span class="s1">&#39;org.eclipse.uml2:org.eclipse.uml2.types:2.0.0.v20140910-1354&#39;</span>
<span class="o">}</span>

<span class="n">task</span><span class="w"> </span><span class="n">setupEpsilonTasks</span><span class="w"> </span><span class="o">{</span>

<span class="w">    </span><span class="c1">// Set up the core Epsilon tasks</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="na">taskdef</span><span class="o">(</span><span class="nl">resource:</span><span class="w"> </span><span class="s1">&#39;org/eclipse/epsilon/workflow/tasks/tasks.xml&#39;</span><span class="o">,</span><span class="w"> </span>
<span class="w">        </span><span class="nl">classpath:</span><span class="w"> </span><span class="n">configurations</span><span class="o">.</span><span class="na">epsilon</span><span class="o">.</span><span class="na">asPath</span><span class="o">,</span><span class="w"> </span><span class="nl">loaderref:</span><span class="w"> </span><span class="s1">&#39;epsilon&#39;</span><span class="o">)</span>

<span class="w">    </span><span class="c1">// Set logging level to info so that EOL&#39;s println() is not suppressed</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="na">lifecycleLogLevel</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">&#39;INFO&#39;</span>
<span class="o">}</span>

<span class="n">task</span><span class="w"> </span><span class="n">run</span><span class="w"> </span><span class="o">{</span>
<span class="w">    </span><span class="n">dependsOn</span><span class="w"> </span><span class="n">tasks</span><span class="o">.</span><span class="na">setupEpsilonTasks</span>

<span class="w">    </span><span class="c1">// Load a UML model straight from GenMyModel</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="s1">&#39;epsilon.loadModel&#39;</span><span class="o">(</span><span class="nl">name:</span><span class="w"> </span><span class="s1">&#39;UML&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">impl:</span><span class="w"> </span><span class="s1">&#39;org.eclipse.epsilon.emc.uml.UmlModel&#39;</span><span class="o">){</span>
<span class="w">        </span><span class="n">parameter</span><span class="o">(</span><span class="nl">name:</span><span class="w"> </span><span class="s1">&#39;modelUri&#39;</span><span class="o">,</span><span class="w"> </span><span class="nl">value:</span><span class="w"> </span><span class="s1">&#39;https://app.genmymodel.com/api/projects/_in3dgJiMEeuzROqeHhotPw/custom-xmi&#39;</span><span class="o">)</span>
<span class="w">    </span><span class="o">}</span>

<span class="w">    </span><span class="c1">// Run library.eol against it</span>
<span class="w">    </span><span class="n">ant</span><span class="o">.</span><span class="s1">&#39;epsilon.eol&#39;</span><span class="o">(</span><span class="nl">src:</span><span class="w"> </span><span class="s1">&#39;../uml.eol&#39;</span><span class="o">){</span><span class="w"> </span><span class="n">model</span><span class="o">(</span><span class="nl">ref:</span><span class="w"> </span><span class="s1">&#39;UML&#39;</span><span class="o">)</span><span class="w"> </span><span class="o">}</span>


<span class="o">}</span>
</code></pre></div>
</div>
</div>
</div>
<h2 id="epsilon-1x">Epsilon 1.x<a class="headerlink" href="#epsilon-1x" title="Permanent link">&para;</a></h2>
<p>If you would like to use an older (1.x) version of Epsilon, you can use <a href="https://github.com/eclipse/epsilon/tree/main/examples/org.eclipse.epsilon.examples.workflow.standalone.1x">this example instead</a>, which uses a fat jar we used to produce (<code>epsilon-1.x-kitchensink.jar</code>) before moving all our jars to Maven Central/Sonatype.</p>





                
              </article>
            </div>
          
          
  <script>var tabs=__md_get("__tabs");if(Array.isArray(tabs))e:for(var set of document.querySelectorAll(".tabbed-set")){var tab,labels=set.querySelector(".tabbed-labels");for(tab of tabs)for(var label of labels.getElementsByTagName("label"))if(label.innerText.trim()===tab){var input=document.getElementById(label.htmlFor);input.checked=!0;continue e}}</script>

        </div>
        
      </main>
      
        <footer class="md-footer">
  
    
  
  <div class="md-footer-meta md-typeset">
    <div class="md-footer-meta__inner md-grid">
      <div class="md-copyright">
  
    <div class="md-copyright__highlight">
      Copyright © <a href="https://www.eclipse.org">Eclipse Foundation, Inc.</a> All Rights Reserved <br/> <a href="https://www.eclipse.org/legal/privacy.php">Privacy Policy</a> &centerdot; <a href="https://www.eclipse.org/legal/termsofuse.php">Terms of Use</a> &centerdot; <a href="https://www.eclipse.org/legal/copyright.php">Copyright Agent</a>  &centerdot; <a href="https://www.eclipse.org/legal/">Legal</a><p><img src="https://eclipse.dev/epsilon/assets/images/eclipse-foundation-logo.svg"/></p>
    </div>
  
  
    Made with
    <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
      Material for MkDocs
    </a>
  
</div>
      
        <div class="md-social">
  
    
    
    
    
      
      
    
    <a href="https://twitter.com/eclipseepsilon" target="_blank" rel="noopener" title="twitter.com" class="md-social__link">
      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>
    </a>
  
    
    
    
    
      
      
    
    <a href="https://youtube.com/epsilondevs" target="_blank" rel="noopener" title="youtube.com" class="md-social__link">
      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"/></svg>
    </a>
  
</div>
      
    </div>
  </div>
</footer>
      
    </div>
    <div class="md-dialog" data-md-component="dialog">
      <div class="md-dialog__inner md-typeset"></div>
    </div>
    
    <script id="__config" type="application/json">{"base": "../../..", "features": ["content.code.copy", "content.tabs.link", "navigation.footer"], "search": "../../../assets/javascripts/workers/search.74e28a9f.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>
    
    
      <script src="../../../assets/javascripts/bundle.220ee61c.min.js"></script>
      
        
          <script src="https://unpkg.com/mermaid@8.5.1/dist/mermaid.min.js"></script>
        
      
        
          <script src="../../../assets/javascript/mermaid.js"></script>
        
      
        
          <script src="../../../assets/javascript/jquery.js"></script>
        
      
        
          <script src="../../../assets/javascript/slick.min.js"></script>
        
      
        
          <script src="../../../assets/javascript/google-code-prettify/prettify.js"></script>
        
      
        
          <script src="../../../assets/javascript/google-code-prettify/lang-emfatic.js"></script>
        
      
        
          <script src="../../../assets/javascript/google-code-prettify/lang-epsilon.js"></script>
        
      
        
          <script src="../../../assets/javascript/google-code-prettify/prettyprint.js"></script>
        
      
        
          <script src="../../../assets/javascript/extra.js"></script>
        
      
        
          <script src="https://w.appzi.io/w.js?token=jlv6W"></script>
        
      
    
  </body>
</html>